package com.stormrage.edu.serv.learn.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.stormrage.edu.dao.learn.LeaTermNessDao;
import com.stormrage.edu.serv.learn.LeaTermNessServ;
import com.stormrage.entity.learn.LeaTermNess;
import com.stormragetech.core.exception.StormrageTechException;

/**
 * @Title: LeaTermNessServImpl.java
 * @Package com.stormrage.edu.serv.learn.impl
 * @Description: 选课数量 Service
 * @author www.stormragetech.com
 * @date 2016年5月14日
 * @version V1.0
 */
@Service
public class LeaTermNessServImpl implements LeaTermNessServ {

	private static final Logger logger = LoggerFactory.getLogger(LeaTermNessServImpl.class);

	@Autowired
	private LeaTermNessDao leaTermNessDao;

	@Override
	public Integer create(LeaTermNess arg0) throws StormrageTechException {

		logger.debug(" 【 Serv 】- 【 LeaTermNessServ 】- 【 create 】-【 STARTED 】");

		Integer index = leaTermNessDao.create(arg0);

		logger.debug(" 【 Serv 】- 【 LeaTermNessServ 】- 【 create 】-【 COMPLETED 】");
		return index;

	}

}
